package com.ysqcould.allocation.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据大屏对象 jb_finance_config
 * 
 * @author ruoyi
 * @date 2022-06-30
 */
public class JbFinanceConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 配置名 */
    @Excel(name = "配置名")
    private String name;

    /** 配置KEY */
    @Excel(name = "配置KEY")
    private String configKey;

    /** 配置值 */
    @Excel(name = "配置值")
    private Long configValue;

    /** 取值类型 */
    @Excel(name = "取值类型")
    private String valueType;

    /** 时间 */
    @Excel(name = "时间")
    private String timeType;

    /** 开关（0关闭，1开启） */
    @Excel(name = "开关", readConverterExp = "0=关闭，1开启")
    private Long configType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setConfigKey(String configKey) 
    {
        this.configKey = configKey;
    }

    public String getConfigKey() 
    {
        return configKey;
    }
    public void setConfigValue(Long configValue) 
    {
        this.configValue = configValue;
    }

    public Long getConfigValue() 
    {
        return configValue;
    }
    public void setValueType(String valueType) 
    {
        this.valueType = valueType;
    }

    public String getValueType() 
    {
        return valueType;
    }
    public void setTimeType(String timeType) 
    {
        this.timeType = timeType;
    }

    public String getTimeType() 
    {
        return timeType;
    }
    public void setConfigType(Long configType) 
    {
        this.configType = configType;
    }

    public Long getConfigType() 
    {
        return configType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("name", getName())
            .append("configKey", getConfigKey())
            .append("configValue", getConfigValue())
            .append("valueType", getValueType())
            .append("timeType", getTimeType())
            .append("configType", getConfigType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
